package view;

import java.awt.BorderLayout;

import javax.swing.JFrame;

public class GameWindow extends JFrame {
	
	GameView gameView;
	
	public GameWindow() {
		
		this.setSize(800, 600);
		this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
	}
	
	public void setGameView(GameView gameView) {
		
		this.gameView = gameView;
		this.getContentPane().add(BorderLayout.CENTER, gameView);
	}
	
	public GameView getGameView() {
		
		return gameView;
	}
}
